package sz2.dao.impl;


import org.springframework.stereotype.Repository;
import sz2.pojo.User;
import sz2.dao.UserDao;

@Repository("userDao")
public class UserDaoImpl implements UserDao {
    public UserDaoImpl() {
    }

    @Override
    public void save(User user) {
        System.out.println(user.getName() + ":" + user.getContent());
    }

    @Override
    public void save1(User user) {
        System.out.println(user.getName() + ":" + user.getContent());
    }

}
